Release 10.1A: OpenEdge Development:
Progress Dynamics Getting Started


Modifying the database scripts

The database scripts that you copied must be modified for the tutorial. They point to the Repository for your working version of Progress Dynamics, but you want to work in a separate Repository for the tutorial.

You can also use these scripts to manage your application database. By adding another line to the script, you can start a server for the tutorial’s application database. Later in the tutorial, you modify the framework to automatically connect to this server when you start your session.

To modify the database scripts:

  1. Open startdbs.bat in Notepad.
  2. Find the following line:
  3. call proserve "<wrk>\databases\icfdb\icfdb" -S icfdb 
    

    and replace it with these lines:

    call proserve "<wrk>\Tutorial\databases\icfdb\icfdb" -S icfdb 
    call proserve "<wrk>\Tutorial\databases\dynsports\dynsports" 
       -S dynsports 
    

  4. Save your changes and close the file.
  5. Open stopdbs.bat in Notepad.
  6. Find the following line:
  7. call proshut -by "<wrk>\databases\icfdb\icfdb" 
    

    and replace it with these lines:

    call proshut -by "<wrk>\Tutorial\databases\icfdb\icfdb" 
    call proshut -by "<wrk>\Tutorial\databases\dynsports\dynsports" 
    

  8. Save your changes and close the file.
  9. Note: If the scripts do not work properly when you run them, check that your DLC environment variable is set properly.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095